package router

import (
	"github.com/gin-gonic/gin"
	"guns-go/controller/v1"
)

func InitDictTypeRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	DictTypeRouter := Router.Group("sysDictType")
	{
		DictTypeRouter.GET("tree", v1.Tree)
		DictTypeRouter.GET("dropDown", v1.DropDown)
		DictTypeRouter.POST("add", v1.SysDictTypeAdd)
		DictTypeRouter.POST("edit", v1.SysDictTypeEdit)
		DictTypeRouter.POST("delete", v1.SysDictTypeDelete)
		DictTypeRouter.GET("page", v1.SysDictTypePage)
	}
	return DictTypeRouter
}
